LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := game_logic_static

LOCAL_MODULE_FILENAME := libgame_logic

LOCAL_SRC_FILES := AppDelegate.cpp \
                   Game/Camera.cpp \
                   Game/Game.cpp \
                   Game/SoundPlayer.cpp \
                   GameRes/AniData.cpp \
                   GameRes/Animation.cpp \
                   GameRes/AnimMgr.cpp \
                   GameRes/ContractionMLG.cpp \
                   GameRes/DataRecord.cpp \
                   GameRes/GameData.cpp \
                   GameRes/GameEffect.cpp \
                   GameRes/GlobalData.cpp \
                   GameRes/ParticleData.cpp \
                   GameRes/SceneMgr.cpp \
                   GameRes/ScriptLogic.cpp \
                   GameRes/sha1.cpp \
                   GameRes/T_Map.cpp \
                   GameRes/T_SceneData.cpp \
                   GameRes/T_Script.cpp \
                   GameRes/UIData.cpp \
                   Obj/Boss.cpp \
                   Obj/DropGoods.cpp \
                   Obj/Element.cpp \
                   Obj/Enemy.cpp \
                   Obj/Hero.cpp \
                   Obj/ObjFac.cpp \
                   Obj/ObjMgr.cpp \
                   Obj/Ornament.cpp \
                   Obj/Particle.cpp \
                   Obj/ParticleMgr.cpp \
                   Obj/Transmitter.cpp \
                   Obj/Wingman.cpp \
                   Obj/XOBJ.cpp \
                   Player/AnimPlayer.cpp \
                   Player/AnimRotate.cpp \
                   Player/LoopPlayer.cpp \
                   Player/OncePlayer.cpp \
                   Player/SlowPlayer.cpp \
                   State/GameSelPlane.cpp \
                   State/GameStateFac.cpp \
                   State/ST_ABOUT.cpp \
                   State/ST_CG.cpp \
                   State/ST_HELP.cpp \
                   State/ST_LOAD.cpp \
                   State/ST_LOGO.cpp \
                   State/ST_MainMenu.cpp \
                   State/ST_MUSIC.cpp \
                   State/ST_OVER.cpp \
                   State/ST_PASS.cpp \
                   State/ST_PAUSE.cpp \
                   State/ST_RANKING.cpp \
                   State/ST_RESULT.cpp \
                   State/ST_RUN.cpp \
                   State/ST_Script.cpp \
                   State/ST_ScriptDlg.cpp \
                   State/ST_SelLevel.cpp \
                   State/ST_SYSTEM.cpp \
                   Tools/DArray.cpp \
                   Tools/FileBin.cpp \
                   Tools/G2U.cpp \
                   Tools/Image.cpp \
                   Tools/Tools.cpp \
                   
                   
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../cocos2dx \
													 $(LOCAL_PATH)/../../cocos2dx/include \
													 $(LOCAL_PATH)/../../cocos2dx/platform \
													 $(LOCAL_PATH)/../../CocosDenshion/Include \
													 $(LOCAL_PATH)/../../LightningFighters2/Classes	\
													 $(LOCAL_PATH)/../../LightningFighters2/Classes/Game \
													 $(LOCAL_PATH)/../../LightningFighters2/Classes/Tools \
													 $(LOCAL_PATH)/../../LightningFighters2/Classes/State \
													 $(LOCAL_PATH)/../../LightningFighters2/Classes/GameRes \
													 $(LOCAL_PATH)/../../LightningFighters2/Classes/Player \
													 $(LOCAL_PATH)/../../LightningFighters2/Classes/Obj \
							

LOCAL_STATIC_LIBRARIES := png_static_prebuilt
LOCAL_STATIC_LIBRARIES += xml2_static_prebuilt
LOCAL_STATIC_LIBRARIES += jpeg_static_prebuilt
LOCAL_STATIC_LIBRARIES += iconv_static_prebuilt
LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dx_static
                
LOCAL_SHARED_LIBRARIES := cocosdenshion_shared         
include $(BUILD_STATIC_LIBRARY)

$(call import-module,cocos2dx/platform/third_party/android/modules/libpng)
$(call import-module,cocos2dx/platform/third_party/android/modules/libxml2)
$(call import-module,cocos2dx/platform/third_party/android/modules/libjpeg)
$(call import-module,cocos2dx/platform/third_party/android/modules/libiconv)
